#include<stdio.h>
int main(){
	long l1,l2;
	l1=(1<<31)-1;
	l2=-(1<<31);
	printf("%l\n",l1);
	printf("%l\n",l2);
	return 0;
}
